<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Template.Master" Inherits="IWS.SiteManager.Web.Views.LayoutView<IWS.SiteManager.Core.Model.Content>" %>
<asp:Content ID="headContent" ContentPlaceHolderID="HeadContent" runat="server">
	<%Html.RenderPartial("~/Views/Shared/MetaKeywordsAndDescription.ascx", Model); %>
	<%=Model.Head %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%				var context = HttpContext.Current;
				if (context != null && (context.User.IsInRole("Editors") || context.User.IsInRole("Admins")))
				{%>
	<div style="float:right; width: 100px;z-index:10; padding: 10px; text-align: right;"><%=Html.ActionLink("Edit This Page", "EditContent", "Manage", new { id = Model.ID }, null)%></div>
<%				}
%>	<%=Model.Body %>
</asp:Content>

<asp:Content ID="EndBodyContent1" ContentPlaceHolderID="EndBodyContent" runat="server">
    <%Html.RenderPartial("~/Views/Shared/GoogleAnalyticsSnippet.ascx"); %>
</asp:Content>